#pragma once

#include "GameBrowserLeftSizedPanel.h"

#include "GameBrowserLeftPanelSerchControl.h"
#include "GameBrowserLeftPanelTreeViewControl.h"
// CGameBrowserLeftPanel

class CGameBrowserLeftPanel : public CGameBrowserLeftSizedPanel
{
	DECLARE_DYNAMIC(CGameBrowserLeftPanel)

public:
	CGameBrowserLeftPanel();
	virtual ~CGameBrowserLeftPanel();

public:
	virtual void AfterSizeChanged();

public:
	BOOL CreateLeftPanel(CWnd *pParent,UINT id);

private:

    CGameBrowserLeftPanelTreeViewControl m_wndTreeViewControl;
    CGameBrowserLeftPanelSerchControl    m_wndSearchControl;

protected:
	DECLARE_MESSAGE_MAP()
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 

	//Assign position from MainFrame
	afx_msg LRESULT OnSizeParent(WPARAM wParam, LPARAM lParam);
     afx_msg void OnSize(UINT nType, int cx, int cy);

     afx_msg void OnDestroy();
};


